<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"  assembly="FJASPX.Domain" namespace="FJASPX.Domain">
  <class name="Enterprise" table="T_Enterprise"  lazy="false">
    <id name="Id" column="id" type="Int32" unsaved-value="0">
      <generator class="identity"/>
    </id>
    <property name="Name" column="Name" type="String" length="50" />
    <property name="Logo" column="Logo" type="String" length="100" />
    <property name="Provice" column="Provice" type="String" length="50" />
    <property name="City" column="City" type="String" length="50" />
    <property name="QQ" column="QQ" type="String" length="50" />
    <property name="Address" column="Address" type="String" length="200" />
    <property name="Description" column="Description" type="String" length="2000" />
    <property name="ZipCode" column="ZipCode" type="String" length="50" />
    <property name="Scale" column="Scale" type="String" length="50" />
    <property name="Fax" column="Fax" type="String" length="50" />
    <property name="Telphone" column="Telphone" type="String" length="50" />
    <property name="Contant" column="Contant" type="String" length="50" />
    <property name="Mobile" column="Mobile" type="String" length="50" /> 
    <property name="UpdateTime" column="UpdateTime" type="DateTime"/>
    <property name="TimeStamp" column="CreateTime" type="DateTime"/> 
    <many-to-one name="User" column="UserId" not-null="true" class="FJASPX.Domain.User"/>
  </class>
</hibernate-mapping>
